package com.hungtrung.entity;

import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.math.Vector2;
import com.hungtrung.game.GameConfig;

public  class TrungChatThai extends Entity{
	public static int def_level=1;
	public TrungChatThai(){}
	public TrungChatThai(Texture texture, Vector2 pos, Vector2 direction) {
		super(texture, pos, direction);		
	}

	@Override
	public void update() {		
		pos.add(direction);				
		//System.out.println("level " + def_level +  " "+  (GameConfig.EGG_SPEED + def_level*GameConfig.EGG_SPEED_RAISE));
		setPosition(0, (-1)*(GameConfig.EGG_SPEED + (def_level-1)*GameConfig.EGG_SPEED_RAISE));	
	}
	

}
